package Lesson;

public class Demo01 {
    public static void main(String[] args) {
        System.out.println("main方法执行了");
        test();
        test2();
        test3();
    }

    public static void test(){
        test2();
        System.out.println("test方法执行了");
    }

    public static void test2(){
        System.out.println("test2方法执行了");
        test3();
        test4();
    }

    public static void test3(){
        System.out.println("test3方法执行了");
    }

    public static void test4(){
        System.out.println("test4方法执行了");
    }


}
